﻿using System;
using System.Threading.Tasks;
using Volo.Abp;
using Volo.Abp.Application.Services;
using YaAppoint.Response;

namespace YaAppoint.Appointments.ScheduleOverrides
{
    [RemoteService(isEnabled:false)]
    public interface IScheduleOverrideAppService:IApplicationService
    {
        Task<BackJson> GetTreeData(Guid? depId);

        Task<BackJson> GetList(Guid deviceid);

        Task<BackJson> SubmitCreat(CreateScheduleOverrideDto dto);

        Task<BackJson> GetAsync(Guid id);

        Task<BackJson> IsAlreadyExist(Guid deviceId, DateTime date);

        Task<BackJson> Delete(Guid id);
    }
}
